package com.suarte.core.service;

import com.suarte.core.Company;
import com.suarte.core.Contact;
import com.suarte.core.Remission;
import com.suarte.core.RemissionDetail;
import java.util.Date;
import org.appfuse.service.GenericManager;

import java.util.List;
/**
 * @date   Feb 19, 2011
 * @author Ggutierrez
 */
public interface RemissionManager extends GenericManager<Remission, Long> {
    List<Remission> findByDescription(String description);
    void store(Remission object);
    Remission get(Long id);
    void deleteDetails(List<RemissionDetail> args);
    void approve(Remission object);
    List<Remission> findRemissions(Long id, Long quotationId, Long workOrderId, String description, Date date, Company company, Contact contact);
}
